#ifndef __MESSAGE_H
#define __MESSAGE_H

#include <string>
#include "MessageHeader.h"

using namespace std;



class Message
{
private:
	MessageHeader header;
	string message;

public:
	Message();
	Message(unsigned char *buffer);
	Message(MessageHeader header, string message);
	~Message();

	void SetHeader(MessageHeader header);
	void SetMessage(string message);
	MessageHeader GetMessageHeader();
	string GetMessageStr();
	string GetMessageBuffer();

};

#endif